
<div id="register">
   <h2>Register</h2>
   <img class="register" src="images/register.png" alt="Register"/>
   <br/>
   <form method="POST" action="regscript.php">
   	<table>
   		<tr class="field">
   			<td>First name: </td>
   			<td><input type="text" size="15" name="first" value="{$first}"></input></td>
   			<td>{$firsterr}</td>
   		</tr>	
   		
   		<tr class="field">
   			<td>Surname: </td>
   			<td><input type="text" size="15" name="last" value="{$last}"></input></td>
   			<td>{$lasterr}</td>
   		</tr>	
   		
   		<tr class="field">
   			<td>E-mail: </td>
   			<td><input type="text" size="15" name="email" value="{$email}"></input></td>
   			<td>{$emailerr}</td>
   		</tr>	
   		
   		<tr class="field">
   			<td>Password: </td>
   			<td><input type="password" size="15" name="pass1"></input></td>
   			<td>{$pass1err}</td>
   		</tr>	
   		
   		<tr class="field">
   			<td>Re-enter Password: </td>
   			<td><input type="password" size="15" name="pass2"></input></td>
   			<td>{$pass2err}</td>
   		</tr>	
   		
   		<tr class="field">
   			<td></td>
   			<td><input type="submit" size="7" value="Register"></input></td>
   		</tr>
   		
   	</table>
   </form>
</div>
